package cloud.xlh.my_system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class PageController {

    @RequestMapping("/index")
    public String index() {
        return "/admin/index";
    }

    @RequestMapping("/welcome-1")
    public String welcome1() {
        return "/page/welcome-1";
    }

    @RequestMapping("/welcome-2")
    public String welcome2() {
        return "/page/welcome-2";
    }

    @RequestMapping("/welcome-3")
    public String welcome3() {
        return "/page/welcome-3";
    }

    @RequestMapping("/menu")
    public String menu() {
        return "/page/menu";
    }

    @RequestMapping("/setting")
    public String setting() {
        return "/page/setting";
    }

    @RequestMapping("/table")
    public String table() {
        return "/page/table";
    }

    @RequestMapping("/form")
    public String form() {
        return "/page/form";
    }

    @RequestMapping("/form-step")
    public String form_step() {
        return "/page/form-step";
    }

    @RequestMapping("/login-1")
    public String login_1() {
        return "/page/login-1";
    }

    @RequestMapping("/login-2")
    public String login_2() {
        return "/page/login-2";
    }

    @RequestMapping("/login-3")
    public String login_3() {
        return "/page/login-3";
    }

    @RequestMapping("/404")
    public String error404() {
        return "/page/404";
    }

    @RequestMapping("/button")
    public String button() {
        return "/page/button";
    }

    @RequestMapping("/layer")
    public String layer() {
        return "/page/layer";
    }

    @RequestMapping("/icon")
    public String icon() {
        return "/page/icon";
    }

    @RequestMapping("/icon-picker")
    public String icon_picker() {
        return "/page/icon-picker";
    }

    @RequestMapping("/color-select")
    public String color_select() {
        return "/page/color-select";
    }

    @RequestMapping("/table-select")
    public String table_select() {
        return "/page/table-select";
    }

    @RequestMapping("/upload")
    public String upload() {
        return "/page/upload";
    }

    @RequestMapping("/editor")
    public String editor() {
        return "/page/editor";
    }

    @RequestMapping("/area")
    public String area() {
        return "/page/area";
    }

    @RequestMapping("/button?v=1")
    public String button1() {
        return "/page/button?v=1";
    }

    @RequestMapping("/button?v=2")
    public String button2() {
        return "/page/button?v=2";
    }

    @RequestMapping("/button?v=3")
    public String button3() {
        return "/page/button?v=3";
    }

    @RequestMapping("/form?v=1")
    public String form1() {
        return "/page/form?v=1";
    }

    @RequestMapping("/error/500")
    public String error() {
        return "/error/500";
    }

    @RequestMapping("/loginPage")
    public String toLoginPage() {
        return "/admin/login_manage/login";
    }

    @RequestMapping("l")
    public String toIndexPage() {
        return "/websocket/index";
    }

    @RequestMapping("toHotPointDataHandleTestPage")
    public String toHotPointDataHandleTestPage() {
        return "/test/hotPointDataHandle";
    }

}
